﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:Faust.Andrew.MTG.Player"
	x:Class="Faust.Andrew.MTG.Player.HostGameConfigurationWindow"
	x:Name="Window"
	Title="Host Game" Loaded="Window_Loaded" Background="{DynamicResource WindowBackground}" SizeToContent="WidthAndHeight" ResizeMode="CanResizeWithGrip" Icon="MTGManagerIcon.ico">

	<StackPanel x:Name="LayoutRoot" Margin="5" CanVerticallyScroll="True">
		<Label Content="Port:" Margin="0,0,0,5" Foreground="White"/>
		<TextBox x:Name="txtPort" Text="4200" TextWrapping="Wrap" Margin="0,0,0,5"/>
        <CheckBox x:Name="chkUsePlanes" Content="Use Planes" IsChecked="False" Margin="0,0,0,5" Foreground="White"/>
		<local:JoinGameConfigurationControl x:Name="joinConfiguration"/>
		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0">
			<Button x:Name="btnCancel" Width="75" Content="Cancel" Margin="0" IsCancel="True" Click="btnCancel_Click"/>
			<Button x:Name="btnOK" Content="OK" Width="75" IsDefault="True" Margin="10,0,0,0" Click="btnOK_Click"/>
		</StackPanel>
	</StackPanel>
</Window>